@import '@/app/styles/variables';

.block {
  background-color: #f5f5f5;
  color: #000;
}

.descr {
  margin-top: 15px;
  margin-bottom: 48px;
}

.flex {
  display: flex;
  align-items: center;
  gap: 7px;
}

.text {
  background-image: url('../../images/allergy-text-s.svg');
  background-repeat: no-repeat;
  width: 46px;
  height: 48px;
}

.images {
  position: relative;

  width: 138px;
  height: 86px;

  & > img {
    position: absolute;
    top: 0;
    width: 86px;
    height: 86px;

    &:first-child {
      z-index: 2;
    }

    &:last-child {
      left: 52px;

      z-index: 1;
    }
  }
}

.red {
  width: 86px;
  height: 86px;
}

@include media-min(sm) {
  .descr {
    margin-top: 20px;
    margin-bottom: 44px;
  }

  .red {
    width: 100px;
    height: 100px;
  }

  .images {
    width: 174px;
    height: 100px;

    & > img {
      width: 100px;
      height: 100px;

      &:last-child {
        left: 74px;
      }
    }
  }
}

@include media-min(md) {
  .flex {
    gap: 15px;
  }

  .descr {
    margin-bottom: 60px;
  }

  .text {
    background-image: url('../../images/allergy-text.svg');
    width: 106px;
  }

  .iamges {
    width: 196px;
    height: 106px;

    &:last-child {
      left: 90px;
    }
  }

  .red {
    width: initial;
    height: initial;
  }
}

@include media-min(lg) {
  .flex {
    gap: 30px;
  }
}
